﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UnityEngineRenderingGraphicsSettingsWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(UnityEngine.Rendering.GraphicsSettings);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
			
			
			
			
			
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 7, 16, 14);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "HasShaderDefine", _m_HasShaderDefine_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGraphicsSettings", _m_GetGraphicsSettings_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetShaderMode", _m_SetShaderMode_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetShaderMode", _m_GetShaderMode_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetCustomShader", _m_SetCustomShader_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetCustomShader", _m_GetCustomShader_xlua_st_);
            
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "transparencySortMode", _g_get_transparencySortMode);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "transparencySortAxis", _g_get_transparencySortAxis);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "realtimeDirectRectangularAreaLights", _g_get_realtimeDirectRectangularAreaLights);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "lightsUseLinearIntensity", _g_get_lightsUseLinearIntensity);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "lightsUseColorTemperature", _g_get_lightsUseColorTemperature);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "defaultRenderingLayerMask", _g_get_defaultRenderingLayerMask);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "useScriptableRenderPipelineBatching", _g_get_useScriptableRenderPipelineBatching);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "logWhenShaderIsCompiled", _g_get_logWhenShaderIsCompiled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "disableBuiltinCustomRenderTextureUpdate", _g_get_disableBuiltinCustomRenderTextureUpdate);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "lightProbeOutsideHullStrategy", _g_get_lightProbeOutsideHullStrategy);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "currentRenderPipeline", _g_get_currentRenderPipeline);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "renderPipelineAsset", _g_get_renderPipelineAsset);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "defaultRenderPipeline", _g_get_defaultRenderPipeline);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "allConfiguredRenderPipelines", _g_get_allConfiguredRenderPipelines);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "cameraRelativeLightCulling", _g_get_cameraRelativeLightCulling);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "cameraRelativeShadowCulling", _g_get_cameraRelativeShadowCulling);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "transparencySortMode", _s_set_transparencySortMode);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "transparencySortAxis", _s_set_transparencySortAxis);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "realtimeDirectRectangularAreaLights", _s_set_realtimeDirectRectangularAreaLights);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "lightsUseLinearIntensity", _s_set_lightsUseLinearIntensity);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "lightsUseColorTemperature", _s_set_lightsUseColorTemperature);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "defaultRenderingLayerMask", _s_set_defaultRenderingLayerMask);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "useScriptableRenderPipelineBatching", _s_set_useScriptableRenderPipelineBatching);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "logWhenShaderIsCompiled", _s_set_logWhenShaderIsCompiled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "disableBuiltinCustomRenderTextureUpdate", _s_set_disableBuiltinCustomRenderTextureUpdate);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "lightProbeOutsideHullStrategy", _s_set_lightProbeOutsideHullStrategy);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "renderPipelineAsset", _s_set_renderPipelineAsset);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "defaultRenderPipeline", _s_set_defaultRenderPipeline);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "cameraRelativeLightCulling", _s_set_cameraRelativeLightCulling);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "cameraRelativeShadowCulling", _s_set_cameraRelativeShadowCulling);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "UnityEngine.Rendering.GraphicsSettings does not have a constructor!");
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "UnityEngine.Rendering.GraphicsSettings does not have a constructor!");
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_HasShaderDefine_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 1&& translator.Assignable<UnityEngine.Rendering.BuiltinShaderDefine>(L, 1)) 
                {
                    UnityEngine.Rendering.BuiltinShaderDefine _defineHash;translator.Get(L, 1, out _defineHash);
                    
                        var gen_ret = UnityEngine.Rendering.GraphicsSettings.HasShaderDefine( _defineHash );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Rendering.GraphicsTier>(L, 1)&& translator.Assignable<UnityEngine.Rendering.BuiltinShaderDefine>(L, 2)) 
                {
                    UnityEngine.Rendering.GraphicsTier _tier;translator.Get(L, 1, out _tier);
                    UnityEngine.Rendering.BuiltinShaderDefine _defineHash;translator.Get(L, 2, out _defineHash);
                    
                        var gen_ret = UnityEngine.Rendering.GraphicsSettings.HasShaderDefine( _tier, _defineHash );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.GraphicsSettings.HasShaderDefine!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetGraphicsSettings_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    
                        var gen_ret = UnityEngine.Rendering.GraphicsSettings.GetGraphicsSettings(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetShaderMode_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Rendering.BuiltinShaderType _type;translator.Get(L, 1, out _type);
                    UnityEngine.Rendering.BuiltinShaderMode _mode;translator.Get(L, 2, out _mode);
                    
                    UnityEngine.Rendering.GraphicsSettings.SetShaderMode( _type, _mode );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetShaderMode_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Rendering.BuiltinShaderType _type;translator.Get(L, 1, out _type);
                    
                        var gen_ret = UnityEngine.Rendering.GraphicsSettings.GetShaderMode( _type );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCustomShader_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Rendering.BuiltinShaderType _type;translator.Get(L, 1, out _type);
                    UnityEngine.Shader _shader = (UnityEngine.Shader)translator.GetObject(L, 2, typeof(UnityEngine.Shader));
                    
                    UnityEngine.Rendering.GraphicsSettings.SetCustomShader( _type, _shader );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCustomShader_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Rendering.BuiltinShaderType _type;translator.Get(L, 1, out _type);
                    
                        var gen_ret = UnityEngine.Rendering.GraphicsSettings.GetCustomShader( _type );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_transparencySortMode(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.GraphicsSettings.transparencySortMode);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_transparencySortAxis(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.PushUnityEngineVector3(L, UnityEngine.Rendering.GraphicsSettings.transparencySortAxis);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_realtimeDirectRectangularAreaLights(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.realtimeDirectRectangularAreaLights);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightsUseLinearIntensity(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.lightsUseLinearIntensity);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightsUseColorTemperature(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.lightsUseColorTemperature);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_defaultRenderingLayerMask(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.xlua_pushuint(L, UnityEngine.Rendering.GraphicsSettings.defaultRenderingLayerMask);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_useScriptableRenderPipelineBatching(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.useScriptableRenderPipelineBatching);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_logWhenShaderIsCompiled(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.logWhenShaderIsCompiled);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_disableBuiltinCustomRenderTextureUpdate(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.disableBuiltinCustomRenderTextureUpdate);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightProbeOutsideHullStrategy(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.GraphicsSettings.lightProbeOutsideHullStrategy);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_currentRenderPipeline(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.GraphicsSettings.currentRenderPipeline);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_renderPipelineAsset(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.GraphicsSettings.renderPipelineAsset);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_defaultRenderPipeline(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.GraphicsSettings.defaultRenderPipeline);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_allConfiguredRenderPipelines(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.GraphicsSettings.allConfiguredRenderPipelines);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cameraRelativeLightCulling(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.cameraRelativeLightCulling);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cameraRelativeShadowCulling(RealStatePtr L)
        {
		    try {
            
			    LuaAPI.lua_pushboolean(L, UnityEngine.Rendering.GraphicsSettings.cameraRelativeShadowCulling);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_transparencySortMode(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			UnityEngine.TransparencySortMode gen_value;translator.Get(L, 1, out gen_value);
				UnityEngine.Rendering.GraphicsSettings.transparencySortMode = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_transparencySortAxis(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			UnityEngine.Vector3 gen_value;translator.Get(L, 1, out gen_value);
				UnityEngine.Rendering.GraphicsSettings.transparencySortAxis = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_realtimeDirectRectangularAreaLights(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.realtimeDirectRectangularAreaLights = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightsUseLinearIntensity(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.lightsUseLinearIntensity = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightsUseColorTemperature(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.lightsUseColorTemperature = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_defaultRenderingLayerMask(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.defaultRenderingLayerMask = LuaAPI.xlua_touint(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_useScriptableRenderPipelineBatching(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.useScriptableRenderPipelineBatching = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_logWhenShaderIsCompiled(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.logWhenShaderIsCompiled = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_disableBuiltinCustomRenderTextureUpdate(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.disableBuiltinCustomRenderTextureUpdate = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightProbeOutsideHullStrategy(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			UnityEngine.Rendering.LightProbeOutsideHullStrategy gen_value;translator.Get(L, 1, out gen_value);
				UnityEngine.Rendering.GraphicsSettings.lightProbeOutsideHullStrategy = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_renderPipelineAsset(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    UnityEngine.Rendering.GraphicsSettings.renderPipelineAsset = (UnityEngine.Rendering.RenderPipelineAsset)translator.GetObject(L, 1, typeof(UnityEngine.Rendering.RenderPipelineAsset));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_defaultRenderPipeline(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    UnityEngine.Rendering.GraphicsSettings.defaultRenderPipeline = (UnityEngine.Rendering.RenderPipelineAsset)translator.GetObject(L, 1, typeof(UnityEngine.Rendering.RenderPipelineAsset));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cameraRelativeLightCulling(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.cameraRelativeLightCulling = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cameraRelativeShadowCulling(RealStatePtr L)
        {
		    try {
                
			    UnityEngine.Rendering.GraphicsSettings.cameraRelativeShadowCulling = LuaAPI.lua_toboolean(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
